package com.yuyang.wifi.utils.network;

import android.content.Context;

import com.yuyang.wifi.base.BaseResult;


/**
 * Created by ttr01 on 2016/12/12.
 */

public abstract class HttpErrorHandlerWithLoadMoreImp extends HttpErrorHandlerImp {

    public HttpErrorHandlerWithLoadMoreImp(Context context) {
        super(context);
    }

    @Override
    public void onHttpError(BaseResult result) {
        super.onHttpError(result);
        netError();
    }

    @Override
    public void onHttpException(Throwable e) {
        super.onHttpException(e);
        netError();
    }

    public abstract void netError();

}
